package xiangmu.schoolpaper.pojo.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 拆分_论文元数据表
 * @TableName split_paper_metadata
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value ="split_paper_metadata")
public class SplitPaperMetadata {
    /**
     * 论文ID
     */
    @TableId(value = "paper_id")
    private Integer paperId;

    /**
     * 论文题目
     */
    @TableField(value = "paper_title")
    private String paperTitle;

    /**
     * 论文完成时间
     */
    @TableField(value = "completion_time")
    private LocalDateTime completionTime;

    /**
     * 论文存储路径
     */
    @TableField(value = "url")
    private String url;

    /**
     * 论文总分
     */
    @TableField(value = "total_score")
    private Double totalScore;

    /**
     * 模板ID
     */
    @TableField(value = "template_id")
    private Integer templateId;

    /**
     * 模版类型ID
     */
    @TableField(value = "type_id")
    private Integer typeId;

    /**
     * 作者ID
     */
    @TableField(value = "student_id")
    private Integer studentId;

    /**
     * 上传用户ID
     */
    @TableField(value = "upload_id")
    private Integer uploadId;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private LocalDateTime createdTime;

    /**
     * 修改时间
     */
    @TableField(value = "updated_time")
    private LocalDateTime updatedTime;

    /**
     * 删除标志（1代表存在 0代表删除）
     */
    @TableField(value = "del_flag")
    private String delFlag;


}